#include <MsgBoxConstants.au3>
#include <GUIConstantsEx.au3>
#include <GuiComboBox.au3>


For $i = 1 To 5 Step +1
	$line = Int(573 / 250)
	$x = Mod($i , $line) =  0 ? $line * 250 -50 : Mod($i , $line) * 250 - 50;
	$y = $i <= $line          ? 40 : ( Mod($i , $line) =  0 ? (Int($i / $line) -1) * 50 + 40 : Int($i / $line) * 50 + 40);

	;Local $x = 15 + 250* $i + 50

	MsgBox($MB_SYSTEMMODAL, "", "The Index $i is: " & $i & ",x="& $x & ",y="& $y)

Next